package com.ujs.edu.medicine.dataobject;

/**
 * 
 * @date 2020/09/12
 */
public class TableChatMes {
    private Integer chatid;

    private Integer fromuserid;

    private Integer touserid;

    /**
     * 一个对话对应一个处方
     */
    private Integer prescriptionid;

    private Author author;

    private Integer openPrescriptionStatus;//0不允许开处方，1为未开处方，2表示已开处方

    private String abstracttest;

    private Integer unreadNum;//未读消息

    private Integer recordNum;//查找到的信息数量

    public Integer getRecordNum() {
        return recordNum;
    }

    public void setRecordNum(Integer recordNum) {
        this.recordNum = recordNum;
    }

    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    public Integer getOpenPrescriptionStatus() {
        return openPrescriptionStatus;
    }

    public void setOpenPrescriptionStatus(Integer openPrescriptionStatus) {
        this.openPrescriptionStatus = openPrescriptionStatus;
    }

    public String getAbstracttest() {
        return abstracttest;
    }

    public void setAbstracttest(String abstracttest) {
        this.abstracttest = abstracttest;
    }

    public Integer getUnreadNum() {
        return unreadNum;
    }

    public void setUnreadNum(Integer unreadNum) {
        this.unreadNum = unreadNum;
    }

    public Integer getChatid() {
        return chatid;
    }

    public void setChatid(Integer chatid) {
        this.chatid = chatid;
    }

    public Integer getFromuserid() {
        return fromuserid;
    }

    public void setFromuserid(Integer fromuserid) {
        this.fromuserid = fromuserid;
    }

    public Integer getTouserid() {
        return touserid;
    }

    public void setTouserid(Integer touserid) {
        this.touserid = touserid;
    }

    public Integer getPrescriptionid() {
        return prescriptionid;
    }

    public void setPrescriptionid(Integer prescriptionid) {
        this.prescriptionid = prescriptionid;
    }
}